<!DOCTYPE html>
<html lang="en" xmlns:shiro="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>山西焦煤组织机构信息化管理系统</title>

    <!--[if lt IE 8]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->

    <link rel="shortcut icon" th:href="@{/asserts/img/logo.png}">
    <link th:href="@{/asserts/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/asserts/css/font-awesome.min.css}" rel="stylesheet">
    <link th:href="@{/asserts/css/animate.min.css}" rel="stylesheet">
    <link th:href="@{/asserts/css/style.min.css}" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg skin-3" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation" th:fragment="leftbar">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">

                    <div class="dropdown profile-element" style="height:40px">

                    </div>
                </li>

                <shiro:hasAnyPermissions name="人员管理_列表,人资组织管理_列表,产权组织管理_列表,菜单角色_列表,数据角色_列表,日志管理_列表">
                    <li>
                        <a href="#"><i class="fa fa-cog"></i> <span class="nav-label">系统管理</span><span
                                class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <shiro:hasPermission name="人员管理_列表">
                                <li><a class="J_menuItem" th:href="@{/sysuser/go}">人员管理</a>
                                </li>
                            </shiro:hasPermission>
                            <shiro:hasPermission name="人资组织管理_列表">
                                <li><a class="J_menuItem" th:href="@{/sysorg/go}">人资组织管理</a>
                                </li>
                            </shiro:hasPermission>
                            <shiro:hasPermission name="产权组织管理_列表">
                                <li><a class="J_menuItem" th:href="@{/sysstorageorg/go}">产权组织树</a>
                                </li>
                            </shiro:hasPermission>
                            <shiro:hasPermission name="菜单角色_列表">
                                <li><a class="J_menuItem" th:href="@{/sysrole/go}">菜单角色</a>
                                </li>
                            </shiro:hasPermission>
                            <shiro:hasPermission name="数据角色_列表">
                                <li><a class="J_menuItem" th:href="@{/sysdatarole/go}">数据角色</a>
                                </li>
                            </shiro:hasPermission>
                            <shiro:hasPermission name="日志管理_列表">
                                <li><a class="J_menuItem" th:href="@{/syslog/go}">日志管理</a>
                                </li>
                            </shiro:hasPermission>
                        </ul>
                    </li>
                </shiro:hasAnyPermissions>

                <li>
                    <a href="#"><i class="fa fa-university"></i> <span class="nav-label">企业信息管理</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level">

                            <li><a class="J_menuItem" th:href="@{/orgbase/go}">企业信息填报</a>
                            </li>
                            <li><a class="J_menuItem" th:href="@{/orgtree/managrgo}">企业管理层级树</a>
                            </li>
                            <li><a class="J_menuItem" th:href="@{/orgtree/legalgo}">法人层级树</a>
                            </li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom ">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary">
                        <i class="fa fa-bars"></i>
                    </a>
                    <h3 class="m-t-md">山西焦煤组织机构信息化管理系统</h3>
                </div>
                <div class="navbar-right" style="margin-right:3px">
                    <!--<form role="search" class="navbar-form-custom" method="post" action="search_results.html">-->
                    <!--<div class="form-group">-->
                    <!--<input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search"-->
                    <!--id="top-search">-->
                    <!--</div>-->
                    <!--</form>-->
                    <div class="form-group m-t-md">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <span class="clear" >
                            <span><strong class="font-bold  m-l-lg"><span property="name" shiro:principal></span></strong></span>
                            </span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a class="J_menuItem" th:href="@{/sysuser/gocheck}">个人资料</a>
                            </li>
                            <li><a class="J_menuItem" th:href="@{/sysuser/gopwd}">修改密码</a>
                            </li>
                            <li class="divider"></li>
                            <li><a href="#" th:href="@{/user/logout}">安全退出</a>
                            </li>
                        </ul>
                    </div>

                </div>

            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:" class="active J_menuTab" data-id="index_v1.html" id="home">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive"><a>定位当前选项卡</a>
                    </li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                    </li>
                    <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                    </li>
                </ul>
            </div>
            <a href="#" th:href="@{/user/logout}" class="roll-nav roll-right J_tabExit"><i
                    class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" th:src="@{/dashboard/go}" frameborder="0"
                    data-id="index_v1.html" seamless></iframe>
        </div>
        <div class="footer">
            <div class="pull-right">&copy; 2019-2020 <a>技术支持：山西云数据科技有限公司</a>
            </div>
        </div>
    </div>
    <!--右侧部分结束-->

</div>
<script th:src="@{/asserts/js/jquery.min.js}" type="text/javascript"></script>
<script th:src="@{/asserts/js/bootstrap.min.js}" type="text/javascript"></script>
<script th:src="@{/asserts/js/plugins/metisMenu/jquery.metisMenu.js}" type="text/javascript"></script>
<script th:src="@{/asserts/js/plugins/slimscroll/jquery.slimscroll.min.js?v=1.1}" type="text/javascript"></script>
<script th:src="@{/asserts/js/plugins/layer/layer.min.js}" type="text/javascript"></script>
<script th:src="@{/asserts/js/hplus.min.js}" type="text/javascript"></script>
<script th:src="@{/asserts/js/contabs.min.js}" type="text/javascript"></script>
<script th:src="@{/asserts/js/plugins/pace/pace.min.js}" type="text/javascript"></script>
</body>
<script th:replace="common/myJs::myCommonJs"></script>

<script th:inline="javascript">
    let sessionUser = [[${sessionUser}]];
    userAuthorization(sessionUser);

    $.ajax({
        url: [[@{'/process/countpending'}]],
        type: "post",
        success: function (data) {
            $('.pendingCount').html(data);
        }
    });
</script>

</html>